﻿using System.Collections.Generic;
using System.Threading;

namespace Inovout.YunYao.Cattle.WindowsService
{
    public class MonitorTask
    {
        internal Thread Thread { get; set; }
        internal List<PersistentTask> PersistentTasks { get; set; }
        internal int Interval { get; set; }
        internal long IntervalTick { get { return Interval * 60 * 1000; } }
        internal long MaxQueueCount { get; set; }
        internal int BatchCount { get; set; }
        internal string HelperQueueName { get; set; }
    }
}
